<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/displaytag-12.tld" prefix="display" %>

<html>
<jsp:include page="top.jsp"></jsp:include>		
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

<html:form  action="/portal/login.do?action=Login">
<input type="hidden" name="change" value= <%= request.getParameter("change")%> />


Value of change parameter in request
<%= request.getParameter("change")%>

<table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
	
	<tr>
    		<td> 
      			<table width="95%" border="0" cellspacing="0" cellpadding="0" align="center">
							      <tr>
                <td height="32" class="text style3"><span class="bluehead">Login to Droik</span></td>
              </tr>
              <tr>
                <td class="text">
                  <div class="c2"><img src="../images/line.jpg" width="950" height="3" vspace="5" alt=""></div></td>
              </tr>
<tr>
					<td>
						<table border="0" cellspacing="0" cellpadding="0" width="49%" align="left">
				
							
						
							
							<tr bgcolor="#FFFFFF"> 
								<td valign="top" class="error orng" colspan="3">
									<logic:present name="PASS_NOT_MATCH"> 
										<bean:message key="PasswordNoMatch"/> 
									</logic:present>
									<logic:present name="USER_NOT_EXIST"> 
										<bean:message key="UserNotPresent"/> 
									</logic:present>
									<logic:present name="REGISTRATION_COMPLETED">
										<bean:message key="registrationcompleted"/> 
									</logic:present>
									<logic:present name="REGISTRATION_FAILED">
										<bean:message key="registrationfailed"/> 
									</logic:present>									
									<logic:present name="USER_NOT_LOGGED_IN"> 
									<bean:message key="Protected"/> </logic:present><logic:present name="NEWUSER"><bean:message key="RegistrationConfirmation"/></logic:present> 
									<logic:present name="FORGOTPASS"> <bean:message key="SendAnEmail"/> 
									</logic:present><html:errors/>
								</td>
							</tr>
              								<%session.removeAttribute("NEWUSER");%>
							<tr bgcolor="#FFFFFF"> 
								<td  valign="middle" align="left" class="boldtext text" height="42" width="6%"> 
									<div align="left">Email</div>
								</td><td width="1%"></td>
								<td class="text">
									<html:text property="userName" styleClass="field" size="27"/>
								</td>
							</tr>
							
							<tr bgcolor="#FFFFFF"> 
								<td valign="middle" align="left" class="boldtext text" height="42" width="6%"> 
									<div align="left">Password</div>
								</td><td width="1%"></td>
								<td ><html:password property="password" styleClass="field" size="27"/> </td>
							</tr>
              
							<tr bgcolor="#FFFFFF"> 
<td align=left  height="42" colspan=3 width=3%><a href="../jsp/ForgotPassword.jsp">Forgot Your Password
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="image" src="../images/submit.jpg" value="Login"/>

</td>
							
							</tr>
              
						
						</table>
          				</td>
          				<td bgcolor="#FFFFFF"><logic:present name="NEWUSER"> 
          					<table width="95%"  border="0" align="right" cellpadding="3" cellspacing="2">
							<tr>
								<td colspan="2" class="title"><font color="#000000">Post an Ad for free</font><br>
								<span class="style2">3 easy steps</span> </td>
							</tr>
							<tr class="boldtext">
								<td width="42"><div align="right">1</div></td>
								<td width="165"><font color="#333333">Register</font></td>
							</tr>
							
							<tr class="boldtext">
								<td width="42"><div align="right">2</div></td>
								<td><font color="#333333">Post</font></td>
							</tr>
							
							<tr class="boldtext">
								<td width="42"><div align="right">3</div></td>
								<td><font color="#333333">get replies </font></td>
							</tr>
          
							<tr>
								<td colspan="2"><a href="../portal/editSubscription.do?action=Create"><img src="../images/get_started_now.gif" width="195" height="44" border="0"></a></td>
							</tr>
        					</table></logic:present>
        				</td>
        			</tr>
      			</table>      
		</td>
	</tr>

</table> 
<br>
<br><br>
<br><br>
<br><br>
<br><br>
<br>
<jsp:include page="footer.html"/>
</html:form> 

</html>